package com.vincent.utils;

import com.vincent.common.Command;

/**
 * Created by wensen on 2016/12/8.
 *
 * reconfiguration command
 * 由client发送的
 */
public class ReconfigCommand extends Command{


    private Config config;

    public ReconfigCommand(int client, long req, Config conf) {
        super(client, req);
        this.config = conf;
    }

    public Config config() {
        return this.config;
    }

    public String toString() {
        return "{ReconfigCommand [client: " + this.client()
                + " request: " + this.req_id() + "]}";
    }

}
